const { QBittorrent } = require('@ctrl/qbittorrent');

const client = new QBittorrent({
  baseUrl: 'http://192.168.88.48:8080/',
  username: 'admin',
  password: 'adminadmin',
});

async function main() {
  // const res = await client.getAppVersion();
  const res = await client.getPreferences();
  
  console.log(res);
}

main()